SOUND LOOPING

This command will return an integer value of one if the specified Sound Number is looping, otherwise zero will be returned.

  Syntax
Return Integer=SOUND LOOPING(Sound Number)
  Parameters
Sound Number
Integer
The sound number

  Returns

The command will return an integer value of one if the specified Sound Number is looping, otherwise zero will be returned

  Example Code
cls
load sound "man.wav",1
play sound 1
print"is sound looping "+str$(sound looping(1))
wait 1000*8
stop sound 1
loop sound 1
wait 1000*8
print"is sound looping "+str$(sound looping(1))
do
loop
end
  See also

SOUND Commands Menu
Index